home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 December / PCWorld_2007-12_cd.bin / domacnost a kancelar / autoit / autoit-v3-setup.exe / Examples / Helpfile / ShellExecuteWait.au3 < prev    next >
Text File  |  2007-09-08  |  132b  |  5 lines

  1. $val = ShellExecuteWait("Notepad.exe")
  2.  
  3. ; script waits until Notepad closes
  4. MsgBox(0, "Program returned with exit code:", $val)
  5.